package com.gill.aop.controller;

import com.gill.aop.service.Service2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class Controller2 {

	@Autowired
	private Service2 service2;

	public void handleRequest(){
		service2.print();
		service2.doError();
	}
}
